package com.salt.system.resource;

import com.salt.common.RestResponse;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 注册资源
 *
 * @author HaiBo Kuang
 * @date 2021/4/18 15:00
 */
@RestController
@RequestMapping("register")
public class RegisterResource {
    /**
     * 用户注册
     * @return 注册结果
     */
    @PostMapping("/")
    public ResponseEntity<?> register() {
        return RestResponse.success();
    }
}
